package com.enjoyor.soa.traffic.api.tvs.service.dubbo;

import java.util.List;

import com.enjoyor.soa.traffic.api.tvs.dto.BlockStrategyRelateDto;
import com.enjoyor.soa.traffic.api.tvs.dto.StrategyDetialInfoDto;
import com.enjoyor.soa.traffic.api.tvs.dto.StrategyInfoDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface DubboStrategyInforService {

    @SuppressWarnings("rawtypes")
    public ResultPojo listPageStrategyInfor(String strategyName, String strategyGrade, String strategyType, Page p);

    public ResultPojo getStrategyInfor(String strategyName, String strategyGrade, String strategyType);

    public ResultPojo getStrategyInforlist(String strategyName, String strategyGrade, String strategyType);

    public ResultPojo getStrategyDetailInfor(String strategyId);

    public ResultPojo getRelateStrategy(String stategyId, String blockId);

    public ResultPojo createStrategyInfor(StrategyInfoDto strategyInfoDto);

    public ResultPojo createBlockStrategyRelate(BlockStrategyRelateDto blockStrategyRelateDto);

    public ResultPojo createStrategyDetailInfor(StrategyDetialInfoDto StrategyDetailInfoDto);

    public ResultPojo updateStrategyInfor(StrategyInfoDto StrategyInoDto);

    public ResultPojo updateStrategyDetailInfo(StrategyDetialInfoDto StrategyDetailInfoDto);

    public ResultPojo deleteStrategyInfo(String strategyId);

    public ResultPojo deleteDetailInforBystrategyId(String strategyId);

    public ResultPojo deleteDetailInforByDetailId(String detailId);

    public ResultPojo deleteBlockStrategyRelate(String strategyId, String blockId);

    @SuppressWarnings("rawtypes")
    public ResultPojo queryOtherStrategyInfo(List listStrategyId);

    public ResultPojo updateBlockStrategyRelate(BlockStrategyRelateDto relateDto);

    @SuppressWarnings("rawtypes")
    public ResultPojo listPageConfigStrategyInfor(String blockId, Page p);

    @SuppressWarnings("rawtypes")
    public ResultPojo listPageUnconfigStrategyInfor(List strategyId, Page p);

}
